weird things about javascript